package com.qfedu.tantu.service.impl;

import com.qfedu.tantu.dao.AdvertisementDao;
import com.qfedu.tantu.service.intf.AdvertisementService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.qfedu.tantu.dao.AdvertisementDao;
import com.qfedu.tantu.dao.ArticleDao;
import com.qfedu.tantu.entity.Article;
import com.qfedu.tantu.service.intf.AdvertisementService;
import com.qfedu.tantu.service.intf.ArticleService;
import com.qfedu.tantu.vo.R;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AdvertisementServiceImpl implements AdvertisementService {
    @Resource
    private AdvertisementDao dao;
    @Override
    public R indexQuery() {
        return R.ok(dao.indexSelect());
    }
}
